import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import uploader from 'vue-simple-uploader'
Vue.use(uploader)

Vue.config.productionTip = false
import http from "./axios"
Vue.prototype.$URL = process.env.VUE_APP_API_URL || "/admin/api"
Vue.prototype.$http = http
Vue.use(ElementUI)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
